package com.atguigu.edu.service;

import com.atguigu.edu.entity.Chapter;
import com.atguigu.edu.entity.vo.ChapterVideoVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author admin
 * @since 2020-07-06
 */
public interface ChapterService extends IService<Chapter> {
    //    根据id查询ChapterVideoVo 章节小结信息
    List<ChapterVideoVo> findChapterVideoById(String courseId);

    //    根据id删除章节信息 （物理删除!!!）真删
    boolean deleteChapterById(String chapterId);
}
